package com.bfly.core.context.event;

import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationEvent;

/**
 * 登录管理员菜单加载事件
 *
 * @author 长沙商脉科技有限公司
 * @date 2020/10/16 13:19
 */
public class AdminMenuReloadEvent extends ApplicationEvent {

    private final String userName;

    public AdminMenuReloadEvent(ApplicationContext ctx, String userName) {
        super(ctx);
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }
}
